import request from '@/apis/request';
import { api } from '@/config/apiBaseUrl';

const URL = {
    company: `${api}/company/company/get`,
    postList: `${api}/company/post/search`
};

// 公司详情
export function getCompanyDetail (data) {
    return request({ url: URL.company, method: 'post', data });
}

// 获取岗位
export function postList (data) {
    return request({ url: URL.postList, method: 'post', data });
}

